package org.lh.ibernate.core;

import java.lang.reflect.InvocationTargetException;
import java.util.List;

//用于处理一个model里面的所有带有注解的字段
public interface IFieldHandle {

    //返回所有带有@column注解字段的属性名称
    List<String> getFieldNameHasColumnAnnotation(Object obj);

    //获取所有带有@column注解字段的属性内容
    List<Object> getAttrFromFieldHasColumnAnnotation(Object obj) throws NoSuchMethodException, InvocationTargetException, IllegalAccessException;
}
